﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Itau.SC.EnterpriseLib.Data
{
    public class DbCommandMock : System.Data.Common.DbCommand
    {
        public override void Cancel()
        {
            throw new NotImplementedException();
        }

        public override string CommandText
        {
            get;
            set;
        }

        public override int CommandTimeout
        {
            get;
            set;
        }

        public override System.Data.CommandType CommandType
        {
            get;
            set;
        }

        public DbCommandMock(string storedProcedureName)
        {
            this.CommandText = storedProcedureName;
        }

        protected override System.Data.Common.DbParameter CreateDbParameter()
        {
            return null;
        }

        protected override System.Data.Common.DbConnection DbConnection
        {
            get;
            set;
        }

        protected override System.Data.Common.DbParameterCollection DbParameterCollection
        {
            get 
            { 
                return null; 
            }
        }

        protected override System.Data.Common.DbTransaction DbTransaction
        {
            get;
            set;
        }

        public override bool DesignTimeVisible
        {
            get;
            set;
        }

        protected override System.Data.Common.DbDataReader ExecuteDbDataReader(System.Data.CommandBehavior behavior)
        {
            throw new NotImplementedException();
        }

        public override int ExecuteNonQuery()
        {
            throw new NotImplementedException();
        }

        public override object ExecuteScalar()
        {
            throw new NotImplementedException();
        }

        public override void Prepare()
        {
        }

        public override System.Data.UpdateRowSource UpdatedRowSource
        {
            get;
            set;
        }
    }
}
